package com.ruoyi.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.entity.po.TVisionVoteData;
import com.ruoyi.mapper.TVisionVoteDataMapper;
import com.ruoyi.service.TVisionVoteDataService;
/**
 * @author chenhainan
 * @since 2024-12-15 16:45
 */
@Service
public class TVisionVoteDataServiceImpl implements TVisionVoteDataService{

    @Autowired
    private TVisionVoteDataMapper tVisionVoteDataMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tVisionVoteDataMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TVisionVoteData record) {
        return tVisionVoteDataMapper.insert(record);
    }

    @Override
    public int insertSelective(TVisionVoteData record) {
        return tVisionVoteDataMapper.insertSelective(record);
    }

    @Override
    public TVisionVoteData selectByPrimaryKey(Integer id) {
        return tVisionVoteDataMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TVisionVoteData record) {
        return tVisionVoteDataMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TVisionVoteData record) {
        return tVisionVoteDataMapper.updateByPrimaryKey(record);
    }

}
